package Payment.Channel;

import Payment.Method.IPayMethod;

public class PayChannelWebChat extends PaymentChannelAbstract {

    public PayChannelWebChat(IPayMethod iPayMethod){
        super(iPayMethod);
    }

    @Override
    public boolean Pay(String uid, int money) {
        if (super.payMethod.authentication(uid)){
            System.out.println("验证已通过，微信支付成功");
        }

        return true;
    }
}
